package com.threeti.mecool.legacy.domain.model.basicdata;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 商品(遗留) */
@Entity
@Table(name = "MD_ARTICLE")
public class ProductLegacy implements Serializable {
  @Id
  @Column(name="ARTICLE_CODE")
  private String code;
  
  @Column(name="BRAND_CODE")
  private String brandCode;
  
  @Column(name="CAT_CODE")
  private String brandCategoryCode;
  
  @Column(name="ARTICLE_SKU")
  private String skuName;

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getBrandCode() {
    return brandCode;
  }

  public void setBrandCode(String brandCode) {
    this.brandCode = brandCode;
  }

  public String getBrandCategoryCode() {
    return brandCategoryCode;
  }

  public void setBrandCategoryCode(String brandCategoryCode) {
    this.brandCategoryCode = brandCategoryCode;
  }

  public String getSkuName() {
    return skuName;
  }

  public void setSkuName(String sku) {
    this.skuName = sku;
  }

  @Override
  public String toString() {
    return "ProductLegacy [code=" + code + ", brandCode=" + brandCode + ", brandCategoryCode=" + brandCategoryCode
        + ", skuName=" + skuName + "]";
  }

}
